﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="decedent_works.aspx.cs" Inherits="Users_decedent_works" %>
<%@ Register TagPrefix="skm" Namespace="ActionlessForm" Assembly="ActionlessForm" %>
<%@ Register assembly="AspNetPager" namespace="Wuqi.Webdiyer" tagprefix="webdiyer" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <%=this.UI_Head(Base_CurrPath, "", "")%>
    <link rel="stylesheet" type="text/css" href="../Css/Users.css" />
    <script src="../Script/popup.js" type="text/javascript"></script>
    <script src="../Script/jquery.lightbox-0.5.js" type="text/javascript"></script>
    <link href="../Css/jquery.lightbox-0.5.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript">
        $(function() {
            $('#piclistBox a').lightBox({txtImage:"人物作品"});
        });
    </script>
   <style type="text/css">
	/* jQuery lightBox plugin - Gallery style */
	#gallery {
		background-color: #444;
		padding: 10px;
		width: 520px;
	}
    </style>
</head>
<body>
       <%=this.UI_TopControl()%>
       
        <div class="topbanner bodyList">
        <div class="body_995">
            <div class="Member_left">
                <%=this.UI_Users_loginOK()%>
                <%=this.UI_memorialMangerNav(id)%>
            </div>
            <div class="Member_Right">
        <skm:Form id="memorial_Form" method="post" runat="server">
 <%--     <Form id="memorial_Form" method="post" runat="server">--%>
                <div class="Member_right_dht">
                    <img src="../Images/class_jn.jpg" width="745" /></div>
                <div class="Member_right_CntLIst">
     <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="18%"><a href="javascript:wy_addPhotoCat('UpPhoto.Aspx?Classid=2&ChannelId=<%=(int)AspNetCs.Enumerations.Channel_Enum.Channel_Type.memorial%>&Types=<%=id%>&Rurl=<%=Server.UrlEncode("decedent_works_"+id+".Aspx") %>','人物作品',500,400);" ><img src="../images/AddPhoto.gif" width="117" height="29" border="0" align="absmiddle" /></a></td>
                <td width="82%" align="center"><strong>人物作品管理</strong></td>
              </tr>
            </table>

   <table border="0" cellspacing="0" width="100%" cellpadding="0" style="margin-top:10px;" >
          <tr class="title" >
            <td align="center" valign="middle" >  
            <div>
                <asp:Repeater ID="Repeater1" runat="server" 
                    onitemdatabound="Repeater1_ItemDataBound" 
                    onitemcommand="Repeater1_ItemCommand"  >
                        <ItemTemplate>
                                  
                <div class="piclistAll"  >  
               <div class="piclist"   id="piclistBox"  >
                 <a href="<%#configInfo.InstallDir+Eval("photoUrl") %>"  title="标题:<%#Eval("photoName") %><br>说明:<%#AspNetCs.Common.StringHelper.RemoveHtml(Eval("Readme").ToString()) %>" ><img src="<%#configInfo.InstallDir+Eval("photoUrl") %>" onload="javascript:DrawImage(this,100,100);"  /></a>
               </div>
               <div class="picList_Text"><input  id="PhotoID" name="PhotoID"  type="checkbox" value="<%#Eval("id") %>" ></inpu><%#AspNetCs.Common.StringHelper.stringformat(Eval("PhotoName").ToString(),12) %><br />[<%#Eval("Ischeck").ToString()=="0"?"等待审核":"已审核" %>]&nbsp;&nbsp;&nbsp;&nbsp;<asp:LinkButton
                       ID="LinkButton1"  CommandName="delinfo" CommandArgument='<%#Eval("id") %>'  OnClientClick="javascript:return confirm('是否真的删除当前相片，一旦删除将无法恢复!')" runat="server">[删除]</asp:LinkButton></div>
            </div>       
            
            
                        
                        </ItemTemplate>
                
                    <FooterTemplate>
                    
                         <asp:Panel runat="server" Visible="false" ID="Panel_Noting">
                            
                                       <br />您还没有上传任何信息          <br />
                        </asp:Panel>
            
            
            
                    </FooterTemplate>
                
                
                </asp:Repeater>
            </div>  
            </td>
          </tr>
          <tr class="title">
            <td align="right"  style="border-bottom:1px solid  #A9A9A9;height:10px;"  > &nbsp;     </td>
            </tr>
           <tr class="title">
            <td align="right" >
                <table width="100%" cellpadding="0" cellspacing="0">
                    <tr><td align="left">
                    <input type="checkbox" name="checkedAll" id="checkedAll" onclick="checkBoxAll('PhotoID')" />全选/取消&nbsp;&nbsp;&nbsp;
                    <asp:LinkButton 
            ID="LinkButton1"  CommandName="deleteAll"    
            OnClientClick="javascript:return confirm('是否真的删除选中的相片???\n\n一旦删除将无法恢复!')"  
            runat="server"  onclick="LinkButton1_Click"><span style='color:Red;'>删除选中信息</span></asp:LinkButton>
                    </td>
                    <td><webdiyer:AspNetPager ID="AspNetPager1" runat="server" CssClass="paginator"  
                                CurrentPageButtonClass="cpb" onpagechanged="AspNetPager1_PageChanged" >
                            </webdiyer:AspNetPager></td>                            
                            
                    </tr>
                    
                </table>  
            </td>
            </tr>    
     
     
          
        </table>             


                </div>
              </skm:Form>
               <%--  </Form>--%>
            </div>
        </div>
        <br />
    </div>
 
    <%=UI_boot() %>
    
  
  

</body>
</html>